package com.zeny.edu.eduservice.service;

import com.zeny.edu.eduservice.entity.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zeny.edu.eduservice.entity.dto.EduVideoDto;

import java.util.List;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author zeny
 * @since 2020-03-05
 */
public interface EduVideoService extends IService<EduVideo> {

    void deleteVideoByCourseId(String id);

    List<EduVideoDto> selectVideoListByCourseId(String courseId);

    boolean isChapterExistVideo(String chapterId);

    boolean removeVideo(String videoId);
}
